org.eclipse.vtp.desktop.editors.voice.mediascreens
Class NewMenuChoiceWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.vtp.desktop.editors.voice.mediascreens.NewMenuChoiceWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard

public class NewMenuChoiceWizard
extends org.eclipse.jface.wizard.Wizard

This wizard walks the user through the steps required to create a new option in a menu dialog. The user is prompted to enter the name of the new menu option. The name must be unique among the current options of the menu dialog. The menu option is automatically created by this wizard.

Author:
Trip

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewMenuChoiceWizard(java.lang.String brandName, OptionSetInformationProvider menu)
          Creates a new NewMenuChoiceWizard for the given menu.
 
Method Summary
 boolean performFinish()
           
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewMenuChoiceWizard

public NewMenuChoiceWizard(java.lang.String brandName,
                           OptionSetInformationProvider menu)
Creates a new NewMenuChoiceWizard for the given menu.

Parameters:
menu - The menu that will contain the new option.
Method Detail

performFinish

public boolean performFinish()
Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard